package code.Frame;

import javax.swing.*;
import code.Frame.adminFrame.*;
import code.Frame.EPFrame.*;
import code.Frame.userFrame.*;

import java.sql.SQLException;

public class FrameManager
{
    public static JPanel startPanel = new startFrame().panel1;
    public static JPanel loginPanel = new loginFrame().loginpanel;
    public static JPanel regPanel = new registerFrame().regpanel;
    public static JPanel admin_main = new code.Frame.adminFrame.mainFrame().panel;

    public static PIFrame piFrame = new PIFrame();
    public static JPanel admin_pinfo = piFrame.panel;

    public static CIFrame ciFrame = new CIFrame();
    public static JPanel admin_cinfo = ciFrame.panel;

    public static code.Frame.EPFrame.mainFrame ep_mainFrame = new code.Frame.EPFrame.mainFrame();
    public static JPanel ep_main = ep_mainFrame.panel;

    public static code.Frame.EPFrame.infoFrame ep_infoFrame = new code.Frame.EPFrame.infoFrame();
    public static JPanel ep_info  = ep_infoFrame.panel;

    public static shopFrame shop = new shopFrame();

    public static JPanel ep_shop = shop.panel;

    public static JPanel user_main = new code.Frame.userFrame.mainFrame().panel;

    public static historyFrame ep_historyFrame = new historyFrame();

    public static JPanel ep_history = ep_historyFrame.panel;

    public static code.Frame.userFrame.infoFrame user_infoFrame = new code.Frame.userFrame.infoFrame();

    public static JPanel user_info = user_infoFrame.panel;

    public static queryFrame user_queryFrame = new queryFrame();

    public static JPanel user_query = user_queryFrame.panel;

    public static processFrame ep_processFrame = new processFrame();
    public static JPanel ep_process = ep_processFrame.panel;

}
